<html>
<head>
<script type="text/javascript">
var a = function(){
	var span = document.getElementById("a1");
	console.log(span.innerHTML);
}
</script>
</head>
<body onload="a()">
<span id="a1">span01</span>
</body>
</html>









